projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5478bd5
)
gdk: Remove leftover variable
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 19 Dec 2017 21:58:51 +0000
(22:58 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Tue, 19 Dec 2017 21:58:51 +0000
(22:58 +0100)
This is unused and leaked.
gdk/gdkevents.c
patch
|
blob
|
history
diff --git
a/gdk/gdkevents.c
b/gdk/gdkevents.c
index ab641ba6c67da2275fc0f8a6e980239ab474e9c5..fb773f55925a5e705cbbd214881086a3d1aaba01 100644
(file)
--- a/
gdk/gdkevents.c
+++ b/
gdk/gdkevents.c
@@
-364,7
+364,6
@@
_gdk_event_queue_handle_motion_compression (GdkDisplay *display)
{
GList *tmp_list;
GList *pending_motions = NULL;
- GList *history = NULL;
GdkWindow *pending_motion_window = NULL;
GdkDevice *pending_motion_device = NULL;
GdkEvent *last_motion = NULL;
@@
-406,8
+405,6
@@
_gdk_event_queue_handle_motion_compression (GdkDisplay *display)
{
GList *next = pending_motions->next;
- history = g_list_prepend (history, pending_motions->data);
-
if (last_motion &&
(last_motion->motion.state &
(GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK |